package com.vhall.component.entity.inav.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author lsl
 * @since 2021/6/4
 */
@Data
public class BannedKickedReqVO implements Serializable {
    /**
     * paas房间id
     */
    @ParamName("room_id")
    @NotBlank(message = "参数错误")
    @Pattern(regexp = "[0-9a-zA-Z_]{1,32}", message = "参数错误")
    private String roomId;

    /**
     * 每页数量
     */
    @ParamName("page_size")
    @Min(value = 1, message = "参数异常")
    private Integer pagesize;

    /**
     * 页码
     */
    @ParamName("page")
    @Min(value = 1, message = "参数异常")
    private Integer page;

}
